package spring.core.aop.advice;

import java.lang.reflect.Method;

import org.springframework.aop.MethodBeforeAdvice;
import org.springframework.aop.aspectj.AspectJMethodBeforeAdvice;
import org.springframework.aop.aspectj.annotation.AspectJAdvisorFactory;
import org.springframework.aop.aspectj.annotation.ReflectiveAspectJAdvisorFactory;
import org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor;

/**
 * @author 1203056
 * @version Id: AdviceDemo.java, v 0.1 2021-09-08 22:55 1203056 Exp $
 */
public class AdviceDemo {
    public static void main(String[] args) {
        //AspectJProxyFactory
        final AspectJAdvisorFactory aspectFactory = new ReflectiveAspectJAdvisorFactory();
//                MethodBeforeAdvice beforeAdvice = new AspectJMethodBeforeAdvice();
        //        MethodBeforeAdviceInterceptor interceptor = new MethodBeforeAdviceInterceptor();
    }
}
